package com.center.growcenterserver.model.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
@Data
@TableName("teacher_course")
public class TeacherCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private String teacherId;

    @TableField(exist = false)
    private String courseId;

    // Similar to StudentCourses, composite keys are handled with separate fields.
    @TableField("teacher_id")
    private String teacherIdField;

    @TableField("course_id")
    private String courseIdField;
}